home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 025a / staff3.zip / MANUAL.DOC < prev    next >
Text File  |  1991-07-27  |  98KB  |  2,562 lines

  1.  
  2. MSC - Morariu Software Consulting
  3. Im Mainfeld 23, D-6000 Frankfurt/M 71, Tel:0049-69-6702652; FAX:676017
  4. ______________________________________________________________________
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.                               STAFF
  32.  
  33.                  Subject Tracking And Fast Find.
  34.  
  35.           Powerful dBASE Compatible User Interface and
  36.                         Database System.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.     The  STAFF-BASE is dedicated to Wayne  Ratliff  and
  44.     the huge community of the dBASE product family users.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.                    STAFF Version 3.00, June 1991
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                 1
  62.  
  63. Copyright (C) 1989, 1990, 1991 by MSC - Morariu Software Consulting.
  64.  
  65. All rights reserved worldwide.
  66.  
  67. Warranty:
  68. MSC warrants the STAFF diskette against defects in materials  and
  69. workmanship  for 90 days from the date of purchase. If  a  defect
  70. occurs during this time, you may return the diskette to MSC for a
  71. free replacement.
  72.  
  73. Disclaimer:
  74. MSC, the program author, the publisher, distributors, and dealers
  75. cannot assume liability for any editorial or technical errors  or
  76. for correctness of the information given. MSC makes no  represen-
  77. tations  or warranty with respect to the STAFF program, and  spe-
  78. cifically disclaims any implied warranties of the merchantability
  79. or  fitness  of the program for a particular  purpose.  You  must
  80. assume  all risk for the installation, use and  results  obtained
  81. from  the program. MSC shall not be liable for  errors  contained
  82. herein or for incidental or consequential damages resulting  from
  83. the furnishing, performance or use of this program.
  84.  
  85. Trademarks:
  86. STAFF  is a registered trademark of MSC; dBASE is a trademark  of
  87. Ashton-Tate;  WordPerfect  is a trademark of  Word  Perfect  Co.;
  88. Wordstar and Mailmerge are trademarks of MicroPro Inc.; MS-DOS is
  89. a trademark of Microsoft; FOXBASE is a trademark of Fox Software;
  90. Clipper  is a trademark of Nantucket; Quicksilver is a  trademark
  91. of  Wordtech;  IBM is a trademark of International  Business  Ma-
  92. chines.
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.                                 2
  122.  
  123. TABLE OF CONTENTS
  124. INTRODUCTION...............................................4
  125. USER CATEGORIES............................................4
  126. APPLICATION POSSIBILITIES..................................4
  127.   MAIN FEATURES OF STAFF...................................5
  128. HARDWARE REQUIREMENTS......................................7
  129. LEARNING HOW TO USE STAFF..................................8
  130. THE DISTRIBUTION DISKETTES.................................8
  131. CONVENTIONS USED IN THE PRESENTATION OF THE COMMANDS.......8
  132. OPERATING STAFF............................................8
  133. INSTALLATION...............................................9
  134. RUNNING THE PROGRAM........................................9
  135. FILE NAMES.................................................10
  136. DATA PREPARATION...........................................11
  137. PULL DOWN MENUS............................................11
  138. THE DATA TABLE.............................................11
  139. IMPROVED DATA ENTRY........................................12
  140. SIMPLE CALCULATIONS........................................12
  141. RECORD NUMBER..............................................13
  142. DELETING RECORDS...........................................13
  143. INFORMATION SEARCH AND RETRIEVAL...........................13
  144. STATISTICS.................................................14
  145. MARKING RECORDS............................................15
  146. INTERRELATING DATA BASE FILES..............................16
  147. LINKING FREE TEXT..........................................16
  148. COMPLEMENTARY FUNCTIONS....................................17
  149. LEAVING THE PROGRAM........................................18
  150. COMPLEMENTARY PROGRAMS.....................................18
  151. THE FUNCTIONS OF STAFF.....................................18
  152. dBLOOKUP...................................................18
  153.  DATA BASE PREPARATION FOR dBLOOKUP LINK...................18
  154.  USING dBLOOKUP............................................19
  155. FAST FIND..................................................20
  156. DATA ENTRY.................................................21
  157. INPUT & UPDATING...........................................22
  158.  CALCULATIONS..............................................24
  159. OUTPUT.....................................................24
  160.  VIEWING...................................................24
  161.  SORT/VIEW.................................................25
  162.  DISK......................................................25
  163.  PRINTER...................................................26
  164.  TO OTHER DATA BASE FILE...................................27
  165.  LABELS....................................................27
  166. UTILITIES..................................................28
  167.  RE-DEFINING DB............................................28
  168.   INDEXING.................................................28
  169.   MODIFY THE ACTIVE DB.....................................29
  170.   IMPORT...................................................30
  171.   ENVIRONMENT..............................................30
  172.   DB STATISTICS............................................31
  173.   HOUSEKEEPING.............................................31
  174.   CREATE A DATA BASE FILE..................................32
  175.   MACRO CONTROL............................................32
  176. NEW DB.....................................................32
  177. TROUBLESHOOTING............................................33
  178. APPENDIX A - STAFF - QUICK REFERENCE.......................34
  179. APPENDIX B - PC-MUNDO - A SAMPLE DATA BASE APPLICATION.....39
  180. APPENDIX C - New features of the program...................43
  181.  
  182.                                 3
  183.  
  184. INTRODUCTION
  185.  
  186. STAFF  is  a dBASE III Plus compatible,  but  independent,   user
  187. interface and Database Management System. STAFF enables the  user
  188. to  develop data intensive applications without traditional  pro-
  189. gramming  effort.  The system is pull-down-menu  driven  and  the
  190. employed  windowing  technology offers a very powerful  and  user
  191. friendly data base management system, adequate as well for novice
  192. computer user as for the expert dBASE user and developer.
  193.  
  194.  
  195.   USER CATEGORIES
  196.  
  197.   STAFF  has been designed with the following user categories  in
  198.   mind:
  199.  
  200.     -  Personal  computer users who deal with  large  amounts  of
  201.     information, and are not specialized enough to develop  their
  202.     own  customized  database applications. STAFF is a  tool  for
  203.     users who are interested to resolve independently their  data
  204.     management problems without depending on external  collabora-
  205.     tors or on a centralized EDP department.
  206.  
  207.     - Developers of specialized database applications directed to
  208.     a large number of users without detailed knowledge of Person-
  209.     al Computers. The distribution of the application package  is
  210.     done  with a RunTime version which is limited to the  use  in
  211.     conjunction  with the specific application only. The  RunTime
  212.     Version  is available with the developers version  of  STAFF,
  213.     and may be copied and distributed freely in connection with a
  214.     specialized database.
  215.  
  216.     - Users of the specialized databases created and  distributed
  217.     by  the  application developer described in the  second  user
  218.     category.
  219.  
  220.     - The dBASE advanced users, or the users of other application
  221.     software developed under a dBASE compatible developing  envi-
  222.     ronment,  like Clipper, Foxbase, Quicksilver, etc., who  want
  223.     to manipulate DBF files efficiently, and without using  dBASE
  224.     or other compatible products.
  225.  
  226.     -  Corporations  with a high degree of  MS-DOS  microcomputer
  227.     implementation, being in the process of training the  person-
  228.     nel for database management tasks, using the industry  stand-
  229.     ard dBASE. A very intensive use of Database Management appli-
  230.     cations can be achieved by means of STAFF without the need of
  231.     huge  investments for the highly priced dBASE  software,  and
  232.     the extensive training requirements of this program.  Special
  233.     deals  are available for the unlimited use of corporate  spe-
  234.     cific versions of the STAFF program.
  235.  
  236.  
  237.   APPLICATION POSSIBILITIES
  238.  
  239.   STAFF  is available in following forms: as an  independent  and
  240.   self  contained data base management system; as  a  development
  241.  
  242.  
  243.                                 4
  244.  
  245.   system  for the data base application developer; as a run  time
  246.   version  for running turn key data base applications; and as  a
  247.   development platform for custom designed applications.
  248.  
  249.   The  application  possibilities of STAFF are  covering  a  very
  250.   broad  spectrum.  Examples of typical databases to  be  created
  251.   and handled with STAFF are: addresses of specialized or general
  252.   interest,  specialized  telephone  directories,  real   estates
  253.   listings, personnel files, customers, medical records,  biblio-
  254.   graphic records, list prices, mail order catalogs,  video/movie
  255.   listings,  specialized  software listings,  administration  and
  256.   evaluation of tests, market survey evaluations, statistics, and
  257.   many  more.
  258.  
  259.  
  260.   MAIN FEATURES OF STAFF
  261.  
  262.   The  interactive  dBASE III concepts and  functions  are  main-
  263.   tained. Many dBASE III Plus functions can be performed by means
  264.   of clearly defined pull-down menus. Examples are:
  265.  
  266.     - Creation of new data base files.
  267.  
  268.     - Appending new records and deleting unwanted ones.
  269.  
  270.     -  Appending and inserting new fields and  deleting  unwanted
  271.     fields.
  272.  
  273.     - Powerful commands for editing the information stored in the
  274.     data base.
  275.  
  276.     - Packing a data base file and Zapping (deleting at once) the
  277.     whole content of a data base file is possible.
  278.  
  279.     -  Extremely  fast search of very large  amounts  of  indexed
  280.     information. Multiple field indexes are allowed.
  281.  
  282.     - The search of embedded alpha-numeric string is also  possi-
  283.     ble by means of a sequential search of the whole  information
  284.     stored in a defined field.
  285.  
  286.     -  The information can be filtered and sorted to be shown  on
  287.     the screen or as hard copy.
  288.  
  289.     - Large amounts of free text can be entered for each record.
  290.  
  291.     - Free modification of the active data base file structure.
  292.  
  293.     - The combination of various data base files into one with  a
  294.     newly defined structure.
  295.  
  296.     -  Possibility to perform arithmetic computations in  defined
  297.     numerical fields and records.
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.                                 5
  305.  
  306.     -  Import and Export from and to a variety of  formats.  File
  307.     formats  supported: ASCII,  Wordstar-Mailmerge,  WordPerfect-
  308.     Merge, Comma Separated, Delimited with a user defined charac-
  309.     ter.
  310.  
  311.     - Full compatibility with dBASE III file format.
  312.  
  313.   Many additional concepts and features enable the STAFF user  to
  314.   the easier implementation of the applications, and an increased
  315.   productivity:
  316.  
  317.     - Professional applications taking into consideration several
  318.     interrelated  data base files can be developed  without  pro-
  319.     gramming.  The amount of data is limited only by the   avail-
  320.     able hard disk space.
  321.  
  322.     - It is reducing to a minimum the data entry and manipulation
  323.     effort  through combined Spreadsheet and  Database  concepts.
  324.     Data  entry, viewing, and updating is possible  via  powerful
  325.     functions  for  navigation,  search,  copy,  and  information
  326.     editing.
  327.  
  328.     -  No  traditional programming required; No  commands  to  be
  329.     memorized; Menu driven operation.
  330.  
  331.     - User defined Macros for the accelerated operation of repet-
  332.     itive tasks.
  333.  
  334.     - dBLOOKUP - A very powerful data entry and viewing facility:
  335.     Each field of the primary data base file can be related to  a
  336.     secondary data base file. The secondary file can be viewed in
  337.     relation  with  the specific field of the primary  file,  and
  338.     information  can be taken over. The dBLOOKUP concept  can  be
  339.     implemented  also  for the secondary data base by  opening  a
  340.     third  related  data base file. Browsing  and  searching  for
  341.     specific  alpha-numeric  sub-strings  in  the  secondary  and
  342.     tertiary  data bases is also possible. Up to four  data  base
  343.     files can be interrelated via the dBLOOKUP facility.
  344.  
  345.     - Anytime a major change is performed in the data base file a
  346.     data security backup file of the respective data base file is
  347.     executed optionally.
  348.  
  349.     -  Database housekeeping facility for finding  duplicate  re-
  350.     cords,  copying  the content of up to five  fields  into  one
  351.     field,  exchanging  the content of one  field  with  another,
  352.     changing database structure, etc. Finding and deleting dupli-
  353.     cate records might be very useful for example to avoid costly
  354.     duplicate  mailings,  which  are typical  for  the  automated
  355.     mailing systems.
  356.  
  357.     - Operational utilities like: Pull-down Menus, Windowing,  On
  358.     Line  Help, DOS-Shell, Pop up Calender, and  Calculator  with
  359.     paste  facility for the result of the  calculations,  improve
  360.     the all-round efficiency of the system.
  361.  
  362.  
  363.  
  364.  
  365.                                 6
  366.  
  367.     -  Statistical information about the data base file  in  use.
  368.     This  is an aid to minimize the data base size, in  order  to
  369.     optimize the use of available disk storage.
  370.  
  371.     - The RunTime Version of STAFF may be copied and  distributed
  372.     freely in connection with specialized databases. The  RunTime
  373.     Version  is included only in the developers package which  is
  374.     available separately.
  375.  
  376.     -  STAFF comes with sample data bases, which are usefull  for
  377.     learning  how  to use the program. The sample DBF  files  are
  378.     grouped  in  two applications: PC-MUNDO,  a collection  of  6
  379.     Data   Base  files  containing  statistical  information   of
  380.     212 countries and  1264 cities of the world; a Data Base with
  381.     over  500  West German Companies dedicated to computer  soft-
  382.     ware development and marketing.
  383.  
  384.     - No copy protection.
  385.  
  386.     -  Multilingual  user  interface.  Additionally  to  English,
  387.     German,  and  Spanish  any other language  supported  by  the
  388.     Standard  ASCII  Character set can easily be  implemented  by
  389.     translating  and/or customizing the screen messages  for  the
  390.     users  own  needs. The tool needed for the  customization  is
  391.     optional.
  392.  
  393.     - Built in report, and label generator.
  394.  
  395.     -  Statistical  computations can be performed  upon  request:
  396.     minimum, maximum, mean, standard deviation, variance, etc.
  397.  
  398.     - STAFF recognizes automatically the video monitor  connected
  399.     to the computer. A powerful color setup and updating  routine
  400.     is available.
  401.  
  402.     - Free text , stored in independent files, can be linked with
  403.     any character field of the data base file.
  404.  
  405.     - The user can mark desired records for export and, eventual-
  406.     ly, deletion.
  407.  
  408.     - Mouse support.
  409.  
  410.   HARDWARE REQUIREMENTS
  411.  
  412.   STAFF  needs a IBM PC or compatible Personal Computer with  640
  413.   KB  of  RAM,  one standard 5 1/4" diskette  drive,  hard  disk,
  414.   monochrome  or color monitor with or without graphic  capabili-
  415.   ties,  and a printer if hard copies are desired.  The  hardware
  416.   must run under MS-DOS 3.0 or later.
  417.  
  418.   Mouse support - With certain versions of the MS-MOUSE (f.e.  v.
  419.   7.00) it is possible to load a keyboard emulator for the  Mouse
  420.   (MSMENU.COM).  This makes STAFF compatible with  the  Microsoft
  421.   Mouse.
  422.  
  423.  
  424.  
  425.  
  426.                                 7
  427.  
  428.   LEARNING HOW TO USE STAFF
  429.  
  430.   Practicing with the sample applications will help you to under-
  431.   stand  all the powerful, yet easy to use features of  the  pro-
  432.   gram. The sample files can be used without fear of damaging the
  433.   information,  provided that backup copies of  the  distribution
  434.   diskettes  have been done before starting to operate  with  the
  435.   program. The sample DBF files are grouped in two  applications:
  436.   PC-MUNDO,   a  collection of 6 Data   Base   files   containing
  437.   statistical  information  of 212 countries and  1264 cities  of
  438.   the world; and a Data Base with over 500  West German Companies
  439.   dedicated  to computer software development and marketing.  The
  440.   PC-MUNDO application is described in Appendix B.
  441.  
  442.  
  443.   THE DISTRIBUTION DISKETTES
  444.  
  445.   STAFF  is distributed on 3 diskettes (5 1/4" with 360 KB).  The
  446.   content of these diskettes is:
  447.  
  448.     - Diskette 1/3 - Program files.
  449.  
  450.     - Diskette 2/3 - Program files.
  451.  
  452.     - Diskette 3/3 Program documentation, and interrelated sample
  453.     DBF  files  with geographic data of the  countries  and  main
  454.     cities  of the world, and a DBF file with over  500  W.German
  455.     companies  related  with  the development  and  marketing  of
  456.     software.
  457.  
  458.  
  459.   CONVENTIONS USED IN THE PRESENTATION OF THE COMMANDS
  460.  
  461.   The key sequence used for issuing the commands are  represented
  462.   as follows:
  463.  
  464.     -  When two keys are to be pressed simultaneously, then  they
  465.     are shown linked with a plus (+) sign.
  466.  
  467.     -  When the keys are to be pressed consecutively,  then  they
  468.     are shown linked with a comma (,) sign.
  469.  
  470.     -  The command sequence is represented in between a  pair  of
  471.     angled brackets - <>.
  472.  
  473.     - <CR> - means pressing the key labeled Enter, or Return.
  474.  
  475.  
  476.  
  477. OPERATING STAFF
  478.  
  479. The program does not expect detailed computer programming  exper-
  480. tise,  however  the user has to be familiar  with  MS-DOS,  basic
  481. computer operation, and a good knowledge of his own application.
  482.  
  483.  
  484.  
  485.  
  486.  
  487.                                 8
  488.  
  489.   INSTALLATION
  490.  
  491.   Back up the distribution diskette first, and store it in a safe
  492.   place before installing the program.
  493.  
  494.   Insert the backup copy of the Diskette 1/3 in the floppy  drive
  495.   of  the computer and log into the respective drive. To run  the
  496.   installation program type:
  497.  
  498.  
  499.   A>INSTALL C: <CR>  - Where C is the hard disk specifier.
  500.  
  501.  
  502.   The  automatic installation is creating a new directory  called
  503.   STAFF, and is modifying the CONFIG.SYS and AUTOEXEC.BAT  files.
  504.   The  installation routine is warning about these  changes,  and
  505.   you might avoid the mocification of the AUTOEXEC.BAT.
  506.  
  507.   You  might  install the program by your own without  using  the
  508.   installation routine. Create a new directory called STAFF,  and
  509.   copy the content of the disks into the new directory. In  order
  510.   to  make  available STAFF from any directory on the  hard  disk
  511.   modify the AUTOEXEC.BAT file by adding to the PATH command  the
  512.   needed information (C:\STAFF;).  The CONFIG.SYS file has to  be
  513.   checked for having the FILES=20 and BUFFERS=32 commands includ-
  514.   ed.
  515.  
  516.  
  517.   RUNNING THE PROGRAM
  518.  
  519.   The  program can be started from the directory called STAFF  or
  520.   from  any  other  directory. Generally the  program  should  be
  521.   started  by being logged into the directory where  the  working
  522.   data files are located. However data base files and other  kind
  523.   of  information, stored in other directories, can be used,  and
  524.   imported.  New data base or other kind of files ca be  created,
  525.   and exported. If the user does not specify a path the resulting
  526.   files  are stored automatically to the subdirectory  where  the
  527.   opened data base file is stored.
  528.  
  529.   To start the program type at the DOS prompt STAFF <CR>. In this
  530.   case  the program is accessing automatically the  default  file
  531.   defined  by the user. The default file can be  changed  through
  532.   the  following  Menu sequence: Utility,  Environment,  Defaults
  533.   <U,E,D>. The most frequently used file should be defined as the
  534.   default file.
  535.  
  536.   Alternatively  you  can  start  the  program  by  typing  STAFF
  537.   \PATH\FILENAME  <CR>. In this case the accessed  database  file
  538.   will be FILENAME instead of the default file.
  539.  
  540.   If  you type STAFF * <CR> a window is opening and  showing  the
  541.   data  base files available in the subdirectory from  where  the
  542.   program  has been started. Choose with the cursor  the  desired
  543.   file and press <CR>. Alternatively press the first character of
  544.   the  file  name. The cursor will jump to the  first  file  name
  545.   starting  with  the pressed character. If you  press  the  same
  546.  
  547.  
  548.                                 9
  549.  
  550.   character  again the cursor will jump to the second  file name,
  551.   and so on. By pressing Enter <CR> with the cursor on the wanted
  552.   file name the program opens this file.
  553.  
  554.   After  starting STAFF the program logo with the  copyright  no-
  555.   tice,  serial  number  and/or the users  name  appears  on  the
  556.   screen.  You  can accelerate the presentation of  the  logo  by
  557.   pressing any key. The next screen is the menu bar on which  the
  558.   pull-down-menus can be activated.
  559.  
  560.   By following the pull-down-menus and the on-screen  instruction
  561.   the  user can develop or use a specific data  base  application
  562.   without  programming or issuing cryptic commands. On  the  left
  563.   lower  side of the screen you can read a brief  description  of
  564.   the  command on which the cursor is residing. The  basic  func-
  565.   tions of STAFF are:
  566.  
  567.     -  Fast  Find - This enables the fast  retrieval  of  indexed
  568.     information.
  569.  
  570.     -  Data  Entry  - Data can be entered,  and  updated.  Simple
  571.     calculations upon numeric field can also be executed.
  572.  
  573.     - Output - Data can be viewed, printed, and exported.
  574.  
  575.     - Utilities - Complementary functions like: Indexing, modify-
  576.     ing  the data base structure, establishing  relational  links
  577.     between different data base files, importing of data, setting
  578.     up  systems defaults, DBF statistics, data base  maintenance,
  579.     generation of new data base files, and macros, etc.
  580.  
  581.     -  New  DB  - selecting a data base file from  any  drive  or
  582.     directory available on the system.
  583.  
  584.   These  functions  are corresponding to the  menu  bar  options,
  585.   which  can  be  seen by opening the  pull-down-menus,  and  are
  586.   explained  in detail in the chapter dedicated to the  functions
  587.   of the program.
  588.  
  589.  
  590.   FILE NAMES
  591.  
  592.   The  file names used have to comply with the MS-DOS  specifica-
  593.   tions. According to that a file name should not be longer  than
  594.   eight  alpha  numeric  characters, and it  should  not  contain
  595.   special characters like =, *, ^, >, <, ?, /, \, (, ), etc.  The
  596.   *.DBF  extension to the data base file is placed  automatically
  597.   by the system.
  598.  
  599.   File  names with the identical first six characters should  not
  600.   be stored in the same subdirectory, in order to avoid  problems
  601.   with  the  indexing procedure. For instance, if there  are  two
  602.   files called DBFILE01 and DBFILE02, this will result in  inade-
  603.   quate  index files, if both files are in the same  subdirectory
  604.   and  both are indexed for Fast Find purposes. This happens  due
  605.   to the fact that the index file names  are created by using the
  606.   basic file name to which two digits are added for differentiat-
  607.  
  608.  
  609.                                 10
  610.  
  611.   ing the index files. If the basic file name is eight characters
  612.   long the last two characters are overwritten.
  613.  
  614.  
  615.   DATA PREPARATION
  616.  
  617.   For  the optimal operation of the program it is very  important
  618.   to  execute the appropriate preparation of data. It  is  worth-
  619.   while  to invest some time in adequately planning the  database
  620.   application in order to optimize aspects like  disk space  use,
  621.   search time, and data entry effort. By adequately planning  the
  622.   implementation of the dBLOOKUP facility important  improvements
  623.   in data entry, data handling, and viewing of information can be
  624.   achieved.
  625.  
  626.  
  627.   PULL DOWN MENUS
  628.  
  629.   OPENING  THE PULL DOWN MENUS. Following alternative  activation
  630.   commands for the pull down menus are given:
  631.  
  632.     - Type the first letter of the menu title on the menu bar.
  633.  
  634.     - Move the cursor with the horizontal arrow keys to the  menu
  635.     title and press Enter <CR>.
  636.  
  637.   When  a pull down menu is open you can change to  another  pull
  638.   down menu with the horizontal arrow keys.
  639.  
  640.   SELECT  AN OPTION WITHIN A PULL DOWN MENU: move to the  desired
  641.   option with the vertical cursor and press Return <CR>. Alterna-
  642.   tively type the first letter of the option descriptor and press
  643.   Return  <CR>.  If  more than one Option starts  with  the  same
  644.   letter  repeat pressing the respective letter until the  cursor
  645.   is highlighting the desired option and press Return <CR>.
  646.  
  647.   To leave the pull down menus press the <F10> or <Esc> key  once
  648.   for  each menu level to be abandoned. Exiting the program  from
  649.   any menu level press <Ctrl+F10>.
  650.  
  651.  
  652.   THE DATA TABLE
  653.  
  654.   Unlike  most data base applications, STAFF shows the data in  a
  655.   data  table form on the screen, rather than in masks. The  data
  656.   is shown in a very similar mode to the spreadsheets like Super-
  657.   Calc, Multiplan, or Lotus 123. The disadvantage of this presen-
  658.   tation  is that the fields documentation is somehow limited  in
  659.   comparison to the  mask presentation, but the screen is used to
  660.   a  maximum  to show active information. It  is  therefore  very
  661.   important to carefully select the field names, since these  are
  662.   the only visual means to document the information. An extensive
  663.   description of the information stored in each of the fields  of
  664.   the  database can be done alternatively by using  the  dBLOOKUP
  665.   concept.
  666.  
  667.  
  668.  
  669.  
  670.                                 11
  671.  
  672.   The screen full of information shows various records at a  time
  673.   and the user can navigate through the information with a facil-
  674.   ity, and flexibility  offered only by the modern  spreadsheets.
  675.   A  description  of the navigation and  editing  commands  which
  676.   makes this system so powerful are given in the chapter  dealing
  677.   with Data Entry and updating.
  678.  
  679.   The data table is available from the Fast Find, Data Entry, and
  680.   Output options. The data table is also available in the  Utili-
  681.   tie, Housekeeping, Duplicate Entries option <U,H,D>. There  are
  682.   some  differences between the functions which can be  performed
  683.   from within each of the data tables available from the  options
  684.   mentioned.
  685.  
  686.  
  687.   IMPROVED DATA ENTRY
  688.  
  689.   Although computer software technology has been improved tremen-
  690.   dously  in the last years, the  data entry effort is still  one
  691.   of the aspects which is the most time-consuming in the develop-
  692.   ment  of a computer application. STAFF has been  designed  spe-
  693.   cially  to  improve this aspect as far as  possible.  The  time
  694.   savings  achieved  by using the user friendly data  entry  will
  695.   contribute substantially to the overall performance of the data
  696.   base application developed with STAFF.
  697.  
  698.   Data can be entered into the data base files by keying them  in
  699.   by  means  of the Data Entry and Updating option  of  the  main
  700.   menu.   Data  entry  is improved by means  of  the  navigation,
  701.   powerful  editing functions, copying of  available  information
  702.   from record to record and field to field, taking over  informa-
  703.   tion  from  related data base files by means  of  the  dBLOOKUP
  704.   facility, hiding desired columns of information, etc.
  705.  
  706.   Another  efficient way of entering data into the system  is  by
  707.   importing and converting existing data available in  electronic
  708.   form.  These possibilities are discussed in the chapter  Utili-
  709.   ties, subchapter Import.
  710.  
  711.   STAFF,  which  is  a generic data base  management  tool,  with
  712.   powerfull data convertion facilities, can be very useful in the
  713.   data preparation of the input for specific computational tools.
  714.  
  715.   SIMPLE CALCULATIONS
  716.  
  717.   Some simple calculations can be performed with the data  stored
  718.   in  numerical fields. These calculations should  be  sufficient
  719.   for simple numerical updating of information, and are described
  720.   in  detail in the Data Entry chapter and Calculations  subchap-
  721.   ter. The operations available can be applied to all the records
  722.   in  a data base file, or to the records filtered  according  to
  723.   defined criteria.
  724.  
  725.   If  complex numerical calculations are requested these  can  be
  726.   performed using an external program which is designed for  this
  727.   kind  of applications, and offers a import-export facility  for
  728.   dBASE files.
  729.  
  730.  
  731.                                 12
  732.  
  733.   RECORD NUMBER
  734.  
  735.   The current record number versus the total number of records is
  736.   shown  in  the  left hand upper corner of the  data  entry  and
  737.   updating data table. The un-deleted records are also considered
  738.   in the numbers shown.
  739.  
  740.   You can access a record by its number by issuing <Alt+G,Record-
  741.   Nr.>.
  742.  
  743.  
  744.   DELETING RECORDS
  745.  
  746.   Records can be deleted only within the Data Entry and Updating,
  747.   and  Duplicate Records data tables. For deleting a record  move
  748.   the  cursor to any field of the unwanted record and  press  the
  749.   <Del>  key.  This record will be marked with <Deleted>  in  the
  750.   upper  part of the data table, above the field names  line.  To
  751.   un-delete a record press again the <Del> key and the  <Deleted>
  752.   sign  will disappear. For eliminating definitively the  records
  753.   with  the deleted mark you have to run the Pack option  of  the
  754.   Housekeeping menu <U,H,P>.
  755.  
  756.  
  757.   INFORMATION SEARCH AND RETRIEVAL
  758.  
  759.   The information can be searched by using different criteria.  A
  760.   very fast find  occurs on specified fields which are indexed on
  761.   one search key, or on a combination of more. The details  about
  762.   indexing  are  explained in the chapter  Utilities,  subchapter
  763.   Indexing  the data base file. The Fast Find option can be  per-
  764.   formed by choosing the main menu option with the same name.
  765.  
  766.   Sub-strings can be sequentially searched. Moving the cursor  to
  767.   the  field to be searched press <Alt+F,Sub-string>. The  search
  768.   of a sub-string can be repeated as often as desired, by  press-
  769.   ing <Alt+N>. This results in a much slower search. The  sequen-
  770.   tial search can be performed from the data table mode.
  771.  
  772.   The simultaneous display of all records containing the  defined
  773.   sub-string  is  possible  by using the Fast  Find  option.  The
  774.   condition  is that the searched sub-string shouldn't be at  the
  775.   beginning of any record. By not finding the searched sub-string
  776.   at the beginning of the indexed field, you will be asked wheth-
  777.   er you would like to search for a partial string. By  answering
  778.   with Y, after a while, you will get all the records  containing
  779.   the desired substring in a data table. If the searched informa-
  780.   tion is also located at the beginning of some records there  is
  781.   a method which might help: Enter the desired string combination
  782.   by  omitting one or more characters from the beginning. If  the
  783.   so  defined search string is not found at the beginning of  any
  784.   field you will be asked for partial string search, as described
  785.   above.
  786.  
  787.   Specific sub-strings can be searched and replaced by moving the
  788.   cursor to the desired field/column and pressing  <Alt+R,Search-
  789.   string,Replacement-string>. Search and replace can be performed
  790.  
  791.  
  792.                                 13
  793.  
  794.   only  in  the Data Table corresponding to the data entry  menu.
  795.   This  command is exchanging the information in all the  records
  796.   of the data base file where it is occuring.
  797.  
  798.   Filtered information can be seen by using the View sub-menu  of
  799.   the Output main-menu. The logical search criteria which can  be
  800.   used  are: greater than, greater equal, smaller  than,  smaller
  801.   equal,  unequal, or equal. For alpha-numeric  information  only
  802.   the equal criteria can be used.
  803.  
  804.   Sorting  information  can  be  viewed  by  using  the  sub-menu
  805.   Sort/View of the OUTPUT option of the main menu.
  806.  
  807.   The detailed explanation for search, and search and replace, is
  808.   in  the  chapter regarding data entry  and  updating.  Viewing,
  809.   sort/view,  and  exporting to disk or printing of  the  records
  810.   complying to certain search criteria is explained in the  chap-
  811.   ter dealing with Output, and the respective subchapters.
  812.  
  813.   HINT: If a certain record is to be found for editing  purposes,
  814.   then a combined use of the Fast Find and Data entry options has
  815.   to be used. Use following steps:
  816.  
  817.     - Search with the Fast Find option for the desired record.
  818.  
  819.     - If more than one record meets the search criteria all  will
  820.     be shown in a data table.
  821.  
  822.     -  Select  the  desired record with  the  cursor,  and  press
  823.     <Alt+E>.
  824.  
  825.     - Watch the automatic change from the Fast Find data table to
  826.     the Data Entry data table.
  827.  
  828.     - Edit the information.
  829.  
  830.     -  If only one record is responding to the  search  criteria,
  831.     then  the information corresponding to it is shown in a  zoom
  832.     in  mask. For getting the corresponding data table press  any
  833.     key  followed  by <PgDn>. The cursor will be  placed  on  the
  834.     desired  record.  Press <Alt+E> to switch to the  Data  Entry
  835.     mode.
  836.  
  837.  
  838.   STATISTICS
  839.  
  840.   To  perform the statistical computations select  Viewing   from
  841.   the  Output  option of the main menu and define  the  selection
  842.   criteria for the records to be viewed. After a while the number
  843.   of  matching  records is shown on the screen. The  next  screen
  844.   shows  the data table of the selected records. Move the  cursor
  845.   to  the desired numeric field and press <Alt+F5>. Next a  table
  846.   appears on the screen, showing the statistical values  computed
  847.   for the selected records.
  848.  
  849.   The statistical values computed are the following:
  850.  
  851.  
  852.  
  853.                                 14
  854.  
  855.     - % from Total - Is the number of matching records  expressed
  856.     as a percentage of the total number of records stored in  the
  857.     data base file.
  858.  
  859.     - Sum - The sum of all items contained in the specific  field
  860.     of the matching records.
  861.  
  862.     -  Minimum  Value - The smallest value  among  the  numerical
  863.     values stored in the specific field of the matching records.
  864.  
  865.     -  Maximum  Value  - The largest value  among  the  numerical
  866.     values stored in the specific field of the matching records.
  867.  
  868.     - Average Value - The mean of the numerical values stored  in
  869.     the specific field of the matching records.
  870.  
  871.     -  Var. (Sample) - The sample variance of items contained  in
  872.     the specific field of the matching records.
  873.  
  874.     - Std (Sample) - Sample standard deviation of items contained
  875.     in the specific field of the matching records.
  876.  
  877.     -  Variance - Population variance of items contained in  spe-
  878.     cific fields of the matching records.
  879.  
  880.     -  Std - Population standard deviation of items contained  in
  881.     the specific fields of the matching records.
  882.  
  883.   If  more complex statistical computations are requested a  com-
  884.   plete Statistical package is recommended. Many powerful statis-
  885.   tical  packages are available on the market, and most  of  them
  886.   are  compatible with the dBASE file format.  These  statistical
  887.   packages are ideal complements to STAFF, and vice versa.
  888.  
  889.  
  890.   MARKING RECORDS
  891.  
  892.   For  the situations in which the operator has to use  selection
  893.   criteria  not  complying with any of  the  logically  definable
  894.   search and filtering criteria, it is possible to mark a  record
  895.   upon any criteria defined by the user during a visual  observa-
  896.   tion  of the information.  The marking procedure can be  called
  897.   from  within the Viewing sub-menu of the Output option  of  the
  898.   main pull-down-menu, by pressing the <TAB>-Key to mark/unmark a
  899.   record.
  900.  
  901.   The marked records can be exported to a data base file  keeping
  902.   the same structure as the original file. The file created  with
  903.   the marked records can be used for any of the operations  fore-
  904.   seen by STAFF, if treated as a normal data base file, which  is
  905.   accessed  independently with the program. After  exporting  the
  906.   records into the newly defined DBF file you have the option  of
  907.   deleting these records.
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.                                 15
  915.  
  916.   A  global  marking  of all the records selected  by  a  Viewing
  917.   procedure  can be achieved by pressing <Shift+Tab>. This  quick
  918.   marking feature enables the massive export and/or deletion of a
  919.   large number of records.
  920.  
  921.   The combined use of the automatic search procedure, applied  to
  922.   one or more fields, with the record marking feature can be used
  923.   to fast and very specific retrieve operations.
  924.  
  925.  
  926.   INTERRELATING DATA BASE FILES
  927.  
  928.   One  of the most powerful features of STAFF is the  possibility
  929.   of interrelating up to three data base files with each field of
  930.   the  basic data base file. Each field of the primary data  base
  931.   file,  can be linked to a complementary and  related  secondary
  932.   data base file. Similarly you can link a data base file to each
  933.   field  of the secondary data base file, and so on.  This  means
  934.   that complex and multidimensional data structures can be creat-
  935.   ed  for an efficient consideration of real world data  handling
  936.   problems.
  937.  
  938.   The STAFF internal tool, which facilitates the interrelation of
  939.   data  base  files,  is called dBLOOKUP. The files  have  to  be
  940.   prepared  previously by linking the desired fields with a  data
  941.   base  file.  By moving the cursor in the data table to the  de
  942.   sired  field and pressing F2 a window opens, showing  the  con-
  943.   tents  of the file with the cursor located on the  related  re-
  944.   cord.  The same operation can be done to the secondary file  by
  945.   linking it to a third file which will act similarly, and so on.
  946.  
  947.   The  fields  which are interrelated with other  DBF  files  are
  948.   marked with an asterisk (*).
  949.  
  950.   The detailed operation of dBLOOKUP is shown in the chapter with
  951.   the same name.
  952.  
  953.  
  954.   LINKING FREE TEXT
  955.  
  956.   For  linking  larger quantities of free text or other  kind  of
  957.   alphanumeric information STAFF offers two flexible methods:
  958.  
  959.     -  MEMO FIELDS - For maintaining the compatibility  with  the
  960.     dBASE  III  Plus standard memo fields are supported.  In  the
  961.     memo  fields you can enter, or import  alphanumeric  informa-
  962.     tion. Exporting and deleting the information stored in a memo
  963.     field is also possible. The information stored in memo fields
  964.     is not accesible by any practical means available to computer
  965.     users.Due  to  the  notorious problems related  to  the  memo
  966.     fields  the use of these is not recommanded.  These  problems
  967.     come from a the dBASE III memo field definition and handling,
  968.     and these problems exist also within programs developed  with
  969.     the CLIPPER Compiler.
  970.  
  971.  
  972.  
  973.  
  974.  
  975.                                 16
  976.  
  977.     -  LINKING WITH ASCII FILES - This method is recommended  for
  978.     linking  free  text with a DBF file, instead  of  using  memo
  979.     fields.  The link has to be done over a character  field.  To
  980.     indicate  that  a  link to an external ASCII  file  is  being
  981.     defined  you have to enter as the first character  a  percent
  982.     sign  (%),  followed  by the path and  the  file  name  (e.g.
  983.     %\PATH\FILENAME.EXT). These external file can be shared  with
  984.     other application programs.
  985.  
  986.  
  987.   COMPLEMENTARY FUNCTIONS
  988.  
  989.   From most of the menus and operational data base tables follow-
  990.   ing assisting and complementary functions can be executed:
  991.  
  992.     HELP ON LINE:  You can get help in the following situations:
  993.  
  994.       -  By pressing <Alt+F1> from nearly any situation you  will
  995.       get a message regarding the key to be pressed for accessing
  996.       the  complementary functions: <F1> for Help, <F4>  for  ca-
  997.       lender,  <F6> for calculator, and <F9> for the  DOS  shell.
  998.       The amount of RAM available at the very moment of  invoking
  999.       <Alt+F1> is also shown .
  1000.  
  1001.       -  By  pressing the function key <F1> from  any  situation,
  1002.       except the data tables, you will get the Quick  Referenceon
  1003.       the  screen. This shows the short description of all  STAFF
  1004.       operations sorted in alphabetical form.
  1005.  
  1006.       -  By pressing <F1> from within a data table you  will  get
  1007.       information about cursor navigation, search of information,
  1008.       search and replace, dBLOOKUP, editing, memo fields,  dupli-
  1009.       cating  records  and  fields,  appending/deleting  records,
  1010.       exporting/importing  information,  hiding   fields/columns,
  1011.       statistics,  etc. The information shown varies in  function
  1012.       of the data table from where you type <F1>.
  1013.  
  1014.       -  POP UP CALENDER: <F4>. From most menus and  data  tables
  1015.       you  can  invoke the Pop Up Calender. This is  useful  when
  1016.       time dependent data is entered or consulted.
  1017.  
  1018.       - POP UP CALCULATOR: <F6>. A Pop Up Calculator can be  used
  1019.       any time during the operation of STAFF. Results of calcula-
  1020.       tions can be pasted into numerical fields.
  1021.  
  1022.       - DOS SHELL: <F9>. If executing DOS commands like   format-
  1023.       ting diskettes, renaming , deleting, or copying files, etc.
  1024.       are requested while being in the middle of the STAFF utili-
  1025.       zation,  then  you can exit temporarily  to  the  operating
  1026.       systems  level by pressing F9.  To get back to  STAFF  from
  1027.       the  operating  system level, type  EXIT <CR>  at  the  DOS
  1028.       prompt.
  1029.  
  1030.       -  EXITING THE MENUS THE DATA BASE TABLES AND THE  CALENDAR
  1031.       OR CALCULATOR: <F10>, or <Esc>.
  1032.  
  1033.       - EXITING THE PROGRAM FROM ANY MENU LEVEL: <Ctrl+F10>.
  1034.  
  1035.  
  1036.                                 17
  1037.  
  1038.   LEAVING THE PROGRAM
  1039.  
  1040.   Leaving  the program: Press <F10>, or <Esc> from the  menu  bar
  1041.   with closed menus. For leaving the program from any menu  level
  1042.   with one key combination press <Ctrl+F10>. Doing so the program
  1043.   will  be terminated abruptly without any other notice. No  data
  1044.   can be lost by exiting the program using this fast mode.
  1045.  
  1046.  
  1047.  
  1048.  
  1049.   COMPLEMENTARY PROGRAMS
  1050.  
  1051.   If  you require graph generation, improved  report  generation,
  1052.   and  extensive utilities the use of the complementary  programs
  1053.   belonging  to the STAFF Product Family are recommended.  STAFF-
  1054.   GRAF,  STAFF-REPORT, and STAFF-UTIL are now shipping, and  much
  1055.   more will come. See the file STFAMILY.DOC, or run README.
  1056.  
  1057.  
  1058.  
  1059. THE FUNCTIONS OF STAFF
  1060.  
  1061. The  STAFF  Functions can be accessed over  pull-down-menus.  The
  1062. main functions are : Fast Find, Input, Output, Utilities, New DB,
  1063. and  dBLOOKUP. All functions, with exception of dBLOOKUP, are  to
  1064. be  started  by activating the main-pull-down menu.  dBLOOKUP  is
  1065. giving  the possibility to link up to three data base files  with
  1066. the  character fields of the basic data base file, and show  them
  1067. on the screen. dBLOOKUP can be invoked from within the Fast Find,
  1068. Input, and Output options.
  1069.  
  1070.  
  1071.   dBLOOKUP
  1072.  
  1073.   With dBLOOKUP  any character type field of a data base file can
  1074.   be related to a chain of three other interrelated files,  which
  1075.   can  be  called when necessary, for data entry,  for  consulta-
  1076.   tions, for checking purposes, etc.
  1077.  
  1078.  
  1079.     DATA BASE PREPARATION FOR dBLOOKUP LINK
  1080.  
  1081.     Before being able to access other data base file from  within
  1082.     a  basic data base file, you have to prepare the  basic  data
  1083.     base file adequately. To do so, you must enter the  following
  1084.     menu  sequence:  Utilities, Redefine DB, Modify Active  DB  -
  1085.     <U,R,M>. The data base file structure shows up with the field
  1086.     names  and  the  corresponding information  for  field  type,
  1087.     width, Dec(imals) and dBLOOKUP. For indicating that a certain
  1088.     field is linked to another DBF file via the dBLOOKUP facility
  1089.     you must enter a "Y" in the column reserved for dBLOOKUP. You
  1090.     can  also disable the dBLOOKUP link by typing instead of  "Y"
  1091.     an "N".
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.                                 18
  1098.  
  1099.     After closing the data base structure modification, by press-
  1100.     ing  <F10>, you will be asked for each field defined  with  a
  1101.     dBLOOKUP  link  for  the name of the data  base  file  to  be
  1102.     linked. Enter an asterisk <*>, followed by Enter <CR> and the
  1103.     DBF  files available in the active directory are shown  in  a
  1104.     window. To establish the link choose the desired DBF file and
  1105.     press  <Enter>.  You can link DBF files which are  stored  in
  1106.     different directories by entering the path and the file name.
  1107.     Changing  the  directory is not possible after  entering  the
  1108.     asterisk  (*).  It is a good practice to store all  the  data
  1109.     base files which have to be linked in the same subdirectory.
  1110.  
  1111.     CAUTION:  The  first two fields of the linked (to  be  called
  1112.     with  the  dBLOOKUP facility) DBF files,  have to be  of  the
  1113.     character type in order to obtain a correct operation.
  1114.  
  1115.  
  1116.     USING dBLOOKUP
  1117.  
  1118.     All  fields with a defined dBLOOKUP link are marked  with  an
  1119.     asterisk (*) in all the data tables from where viewing anoth-
  1120.     er DBF file is possible.
  1121.  
  1122.     Move  the cursor to the field which has a dBLOOKUP  link  and
  1123.     press  the F2 key. A window opens and shows  the  information
  1124.     stored in the related DBF file. If the content of the calling
  1125.     field  is available in the first field of the secondary  data
  1126.     base  file,  than the cursor is highlighting  the  respective
  1127.     record. If the secondary DBF file is very large it is  recom-
  1128.     mended  to  index it on the field on which  the  relation  is
  1129.     defined.
  1130.  
  1131.     You can navigate with the cursor in the secondary DBF file in
  1132.     a  similar way as in the primary data base file. For  editing
  1133.     the available information of the secondary data base file, or
  1134.     adding or deleting records you have to press F3.  Navigation,
  1135.     search for information, adding, and deleting records is  done
  1136.     similarly with the operations done in the primary data  base.
  1137.     However the data entry operations in the secondary data table
  1138.     are less efficient, due to the fact that data entry shouldn't
  1139.     be executed from this level, but from the basic data table.
  1140.  
  1141.     Searching for information in a data table called with dBLOOK-
  1142.     UP is done the same way as in the primary data base. Pressing
  1143.     Enter  <CR>  has as a result the return to the  primary  data
  1144.     base  file  and the transfer of the string available  in  the
  1145.     first  field of the record where the cursor was located.  The
  1146.     information  is transferred to the calling field in the  pri-
  1147.     mary data base file.
  1148.  
  1149.     The secondary data base file which is called from the primary
  1150.     data  base file can call by means of the dBLOOKUP facility  a
  1151.     third  data base file. The third data base file has the  same
  1152.     functions in relation with the second data base file, as  the
  1153.     second  to the primary data base file. The link can  also  be
  1154.     done from the third DBF file to a fourth one.
  1155.  
  1156.  
  1157.  
  1158.                                 19
  1159.  
  1160.     Data  transfer is possible only from the second DBF  file  to
  1161.     the  first.  Editing of information is possible only  in  the
  1162.     first and second DBF files.
  1163.  
  1164.     With the above described feature you can perform three flexi-
  1165.     ble  operations:
  1166.  
  1167.       - For an available code in the calling field you can  bring
  1168.       on  the screen the detailed description of this  code.  The
  1169.       description may be brief or very extensive by using several
  1170.       records  with  the same code name in the  first  definition
  1171.       field.  The two related data base files are always  related
  1172.       by  means of the information stored in the first  field  of
  1173.       the secondary file.
  1174.  
  1175.       -  If  you do not know exactly which  character  string  or
  1176.       coded  information  has to be entered into a field  of  the
  1177.       primary  data base file, you may call a  complementary  DBF
  1178.       file by means of the dBLOOKUP facility, and search for  the
  1179.       desired  information  using  the  navigation  or  searching
  1180.       functions.  Once  you have found the desired  record  press
  1181.       <Enter>  and the needed information is taken  over  without
  1182.       the  need of rekeying it. This feature is  recommended  for
  1183.       information viewing and fast data entry.
  1184.  
  1185.       -  For the creation of a new data base file or updating  an
  1186.       old one the dBLOOKUP facility can be used for entering into
  1187.       the secondary the information which might be gained visual-
  1188.       ly from the primary data base file or from a combination of
  1189.       sources.
  1190.  
  1191.     In  the  Data  Tables  called  by  Fast  Find,  Viewing,  and
  1192.     Sort/View options dBLOOKUP has a data viewing functions only.
  1193.     Information editing and taking over is available only in  the
  1194.     Data Table called from the Data Entry option.
  1195.  
  1196.     CAUTION: dBLOOKUP is working only with character fields. When
  1197.     trying  to  define a dBLOOKUP link for a numeric  fields  the
  1198.     system will deny this operation.
  1199.  
  1200.  
  1201.   FAST FIND
  1202.  
  1203.   The  first  menu position on the menu bar is Fast  Find,  since
  1204.   this is expected to be the most used for the fast access needed
  1205.   by typical application.
  1206.  
  1207.   This Option only works if the user defines the fields on  which
  1208.   the Fast Find should be executed. The definition of the  fields
  1209.   on  which the Fast Find should happen is to be  done  following
  1210.   the  commands UTILITIES, RE-DEFINE DB, INDEXING +  [DEFINE  THE
  1211.   PATH AND THE DB TO BE ACTIVATED] + [DEFINE THE FIELDS FOR  FAST
  1212.   FIND] - <U,R,I,\PATH,FILENAME>.
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.                                 20
  1220.  
  1221.   By choosing the Fast Find option the pull down menu opens,  and
  1222.   shows  the options for FAST FIND. These options consist of  the
  1223.   names of the defined search fields on which the index has  beem
  1224.   performed.
  1225.  
  1226.   To perform the Fast Find Option follow the interactive instruc-
  1227.   tions and search for the desired information. The system is set
  1228.   up in the following manner:
  1229.  
  1230.     - If the information desired  matches to the beginning string
  1231.     of  the field content, the information found will  appear  on
  1232.     the screen. If only one occurrence of the searched string  is
  1233.     available, the whole content of the corresponding record will
  1234.     appear in a window. If the information available does not fit
  1235.     on  screen you must press <PgDn> to see the missing part.  If
  1236.     more than one occurrence of the searched string is  available
  1237.     all the records matching the search criteria appear in  table
  1238.     form  on  the whole screen. The information is  always  shown
  1239.     sorted in accordance with the search criteria defined for the
  1240.     Fast  Find procedure.You can navigate with the cursor to  any
  1241.     field  on  the  screen and beyond, up to the  limits  of  the
  1242.     primary  file in use.  For the navigation and searching  com-
  1243.     mands see the Input & Updating section.
  1244.  
  1245.     -  If  the  information searched is not found  at  the  first
  1246.     attempt it may be placed somewhere else than at the beginning
  1247.     of the field, and a message appears asking whether a  partial
  1248.     string search is desired. If the answer is <Y>es a sequential
  1249.     search  of  the desired sub-string is started  upon  all  the
  1250.     records,  but  limited to the defined field. This  search  is
  1251.     much slower since it is executed sequentially.
  1252.  
  1253.   If you want to search for a sub-string in the certain field  of
  1254.   the data table type <ALT+F,STRING>. Where STRING is the  combi-
  1255.   nation  of characters to be searched. If repeated  searches  of
  1256.   the same sub-string is desired then type <ALT+N>.
  1257.  
  1258.   The data presented in the data table under the Fast Find Option
  1259.   can  be viewed by using all the navigation commands,  dBLOOKUP,
  1260.   and  opening  of the Memo fields, or viewing linked  free  text
  1261.   files.
  1262.  
  1263.   Editing  operations,  Field and Record copy  are  not  possible
  1264.   under the Fast Find Option. To leave the FAST FIND option  type
  1265.   <F10> or <Esc>.
  1266.  
  1267.  
  1268.  
  1269.   DATA ENTRY
  1270.  
  1271.   This  is the menu to be used for data entry, updating and  per-
  1272.   forming  calculations which affect the contents of all  or  se-
  1273.   lected numeric fields.
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.                                 21
  1281.  
  1282.     INPUT & UPDATING
  1283.  
  1284.     When  choosing  this option the first records appear  on  the
  1285.     screen  and data entry and updating can be started. The  com-
  1286.     mands  needed for the proper operation of the data entry  and
  1287.     updating of information are given bellow:
  1288.  
  1289.       NAVIGATION  COMMANDS: Move the Cursor with the ARROW  KEYS,
  1290.       <PgUp>,  <PgDn>,  <Home>,  <End>;  Jump  to  first   Record
  1291.       <Ctrl+PgUp>;  Jump to the last Record <Ctrl+PgDn>; Jump  to
  1292.       first   Field    <Ctrl+Home>;  Jump  to  the   last   Field
  1293.       <Ctrl+End>. Go to record number <Alt+G,Record-Nr.>.
  1294.  
  1295.       SEARCH COMMANDS: Search String:  <Alt+F,String>,<CR>;Repeat
  1296.       Search: <Alt+N>.
  1297.  
  1298.       SEARCH  AND REPLACE: Move the cursor to the  desired  field
  1299.       and press <Alt+R>, Type in the string to be found  followed
  1300.       by  Enter <CR>, Type in the replacement string followed  by
  1301.       <CR>. If the replacement string is longer than the original
  1302.       text  the  additional characters will be inserted.  If  the
  1303.       replacement  string is shorter, the resulting text will  be
  1304.       accommodated.
  1305.  
  1306.       DBLOOKUP:  Move the cursor to a field marked with *.  Press
  1307.       <F2> to invoke the dBLOOKUP option. dBLOOKUP works only  if
  1308.       the  file has been prepared adequately. A file is  prepared
  1309.       for  dBLOOKUP  operations  by using  the  command  sequence
  1310.       <U,R,M> and entering a Y character  for the field for which
  1311.       a  dBLOOKUP  link is requested. Within  the  dBLOOKUP  data
  1312.       table  you  should  use the same  navigation,  editing  and
  1313.       search  commands as in the data table corresponding to  the
  1314.       main data base file.
  1315.  
  1316.       EDITING  COMMANDS: To start Editing move the cursor to  the
  1317.       desired Field and start typing or press Enter <CR>.  Typing
  1318.       directly  means  to  overwrite or  insert  new  characters,
  1319.       depending on whether the <Ins> key has been pressed or not.
  1320.       Starting with <CR> means to delete the whole content of the
  1321.       field,  when typing the first character. You  can  maintain
  1322.       the  original text by starting the editing with  <CR>  fol-
  1323.       lowed  by  <End>, or by moving the  horizontal  right  key.
  1324.       After  moving  the cursor with the horizontal key  you  can
  1325.       edit  normally.  Following control keys  are  valid  during
  1326.       editing:
  1327.  
  1328.         -  INSERT: Press the Insert Key <Ins> for typing over  or
  1329.         inserting characters. <Ins> will be shown on the top line
  1330.         of the screen.
  1331.  
  1332.         -  Delete  Characters  with  <Del>;  Delete  Words   with
  1333.         <Ctrl+T>.
  1334.  
  1335.         -  Jump  from Word to Word  with  <Ctrl+Horizontal  Arrow
  1336.         Keys>.
  1337.  
  1338.         - Jump to  the beginning of a Field: <Home>.
  1339.  
  1340.  
  1341.                                 22
  1342.  
  1343.         - Jump to the End of string in a Field: <End>.
  1344.  
  1345.         - Terminate Editing: Press <CR>, or vertical Arrow Key.
  1346.  
  1347.       MEMO  FIELDS: To open a MEMO field place the cursor of  the
  1348.       memo  field and press RETURN. In the data tables  belonging
  1349.       to  the  Fast Find or View options use the '+'  key.  Enter
  1350.       text  into the memo pad by typing normally. Edit  by  using
  1351.       the Editing Commands previously mentioned.  Close the  Memo
  1352.       Field  by typing <Ctrl+W>. No search is possible  upon  the
  1353.       information stored in a memo field.
  1354.  
  1355.         - EXPORT THE CONTENTS OF A MEMO FIELD: With the cursor on
  1356.         the unopened memo field type <Alt+X,FILENAME.EXT>,<CR>.
  1357.  
  1358.         -  IMPORT  OF THE CONTENT OF AN EXTERNAL FILE TO  A  MEMO
  1359.         FIELD:  With the cursor on the unopened memo  field  type
  1360.         <Alt+T,FILENAME.EXT>,<CR>.
  1361.  
  1362.         -  DELETING THE CONTENT OF A MEMO FIELD: With the  cursor
  1363.         on the unopened memo field press <Alt+Z,Y>.
  1364.  
  1365.       LINKING  FREE  TEXT FILES: Move the cursor to  a  character
  1366.       field  and  type: <%\PATH\FILENAME.EXT>,<CR>.  The  percent
  1367.       sign  (%)  indicates that you can access  the  file  called
  1368.       FILENAME.EXE by placing the cursor on this field and typing
  1369.       <Alt+V>.  Simple data entry end editing operations  can  be
  1370.       applied  to this file. The size of the external file  which
  1371.       can  be viewed, and operated by this mechanism  depends  on
  1372.       the  available  free  RAM,  which can  be  seen  by  typing
  1373.       <Alt+F1> from the pull down menu level.
  1374.  
  1375.       DUPLICATE  RECORD:  Go to the Record to be  duplicated  and
  1376.       press <ALT+F2>.  The record will be duplicated and appended
  1377.       at  the end of the data base file. Duplicating  records  is
  1378.       possible only from the Input & Updating Option.
  1379.  
  1380.       DUPLICATE  FIELD: Go to Source Field and  press  <Ctrl+F2>,
  1381.       Move  cursor  to Target Field and  press  again  <Ctrl+F2>.
  1382.       Caution: once pressed <Ctrl+F2> with the cursor on a  field
  1383.       it  has  to  be pressed again, with the  cursor  placed  on
  1384.       another field, in order to avoid possible problems.  Dupli-
  1385.       cating Field is also possible only under the Input & Updat-
  1386.       ing  Option. The semicolon character (;) should be  avoided
  1387.       in  the  text entered in a field, since  it  is  internally
  1388.       considered  as Enter <CR>, and thus only the part from  the
  1389.       beginning  of the field until the semicolon character  will
  1390.       be copied to the destination field.
  1391.  
  1392.       ADD  A  RECORD: Jump to last Record  with  <Ctrl+PgDn>  and
  1393.       press <Down Arrow>.
  1394.  
  1395.       DELETE  A RECORD: Press the <Del> Key; To Undo this  action
  1396.       press <Del> again. The deleted record is marked at the  top
  1397.       of the data table, and above the field names as <DELETED>.
  1398.  
  1399.  
  1400.  
  1401.  
  1402.                                 23
  1403.  
  1404.       HIDE  A COLUMN/FIELD: For better view of the data table  on
  1405.       the screen you can hide the Columns/Fields with the command
  1406.       <Alt+H>. In order to make the hidden columns visible  again
  1407.       exit the data table and open it again.
  1408.  
  1409.  
  1410.     CALCULATIONS
  1411.  
  1412.     This  option  allows you to perform  simple  calculations  to
  1413.     numeric  fields of all the records or to  records  satisfying
  1414.     certain  conditions.  Calculations  are  possible  only  with
  1415.     fields defined as numeric.
  1416.  
  1417.     The  possible operations are: Adding a constant  value;  Sub-
  1418.     tracting a constant value; Multiplying with a constant value;
  1419.     Dividing with a constant value; Increasing the content(s)  of
  1420.     the  field(s) with a certain percentage, Decreasing the  con-
  1421.     tent(s)  of the field(s) with a percentage, applying  a  per-
  1422.     centage to the content(s) of the field(s).
  1423.  
  1424.  
  1425.  
  1426.   OUTPUT
  1427.  
  1428.   This  option allows the output of the information  in  diferent
  1429.   forms  like:  Viewing,  Sorted, to disk,  reports  to  printer,
  1430.   labels,  etc. The output can be obtained in hard copy by  means
  1431.   of a printer or it can be sent to a disk file or to the screen.
  1432.  
  1433.  
  1434.     VIEWING
  1435.  
  1436.     This option enables the search and view of specified  records
  1437.     according  to pre-defined match criteria. For each  field  of
  1438.     the database a match criteria can be entered, thus a  precise
  1439.     search is possible. Once the search criteria is defined,  the
  1440.     process is started by pressing the <End> key.
  1441.  
  1442.     To  perform the STATISTICAL COMPUTATIONS move the  cursor  in
  1443.     the  resulting  data table to the desired numeric  field  and
  1444.     press  <Alt+F5>. After a while a table appears on the  screen
  1445.     showing  the  statistical values computed  for  the  selected
  1446.     records. The statistical values computed are following:
  1447.  
  1448.       -  %  from Total - Is the number of  matching  records  ex-
  1449.       pressed  as  a percentage of the total  number  of  records
  1450.       stored in the data base file.
  1451.  
  1452.       -  Sum  - The sum of all items contained  in  the  specific
  1453.       field of the matching records.
  1454.  
  1455.       -  Minimum Value - The smallest value among  the  numerical
  1456.       values  stored  in the specific field of the  matching  re-
  1457.       cords.
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.                                 24
  1464.  
  1465.       -  Maximum  Value - The largest value among  the  numerical
  1466.       values  stored  in the specific field of the  matching  re-
  1467.       cords.
  1468.  
  1469.       -  Average Value - The mean of the numerical values  stored
  1470.       in the specific field of the matching records.
  1471.  
  1472.       - Var. (Sample) - The sample variance of items contained in
  1473.       the specific field of the matching records.
  1474.  
  1475.       -  Std (Sample) - Sample standard deviation of  items  con-
  1476.       tained in the specific field of the matching records.
  1477.  
  1478.       -  Variance  - Population variance of  items  contained  in
  1479.       specific fields of the matching records.
  1480.  
  1481.       - Std - Population standard deviation of items contained in
  1482.       the specific fields of the matching records.
  1483.  
  1484.     In the data table corresponding to the Viewing option you can
  1485.     mark  the  records according to your criteria by  moving  the
  1486.     cursor to the desired record and pressing <Tab>. By  pressing
  1487.     the  <Tab> key again with the cursor on a marked  record  you
  1488.     may unmark it.
  1489.  
  1490.     The marked records can be exported to a data base file  keep-
  1491.     ing the same structure as the original file. The file created
  1492.     with the marked records can be used for any of the operations
  1493.     foreseen  by  STAFF, if treated as a normal data  base  file,
  1494.     which  is  accessed  independently with  the  program.  After
  1495.     exporting  the  records into the newly defined DBF  file  you
  1496.     have the option of deleting these records.
  1497.  
  1498.     A  global  marking of all the records selected by  a  Viewing
  1499.     procedure can be achieved by pressing <Shift+Tab>. This quick
  1500.     marking feature enables the massive export and/or deletion of
  1501.     a large number of records.
  1502.  
  1503.  
  1504.     SORT/VIEW
  1505.  
  1506.     This option sorts the records according to the priorities set
  1507.     up by the user. The sort priority number has to be entered in
  1508.     the field to the right of the field name. To enter the prior-
  1509.     ity  number press Enter <CR> with the cursor on  the  desired
  1510.     field  name.  Enter the desired number and press  Enter  <CR>
  1511.     again.  Then  move to the next field and enter  the  priority
  1512.     number desired. The priority numbers can be 1,2,3,4.....,  or
  1513.     18,19,33,45.  The  information  is presented  on  the  screen
  1514.     respecting  the  priority defined by the user. To  Start  the
  1515.     process press <End>.
  1516.  
  1517.  
  1518.     DISK
  1519.  
  1520.     This option performs a selective output to hard disk  accord-
  1521.     ing  to user defined selection criteria. After  entering  the
  1522.  
  1523.  
  1524.                                 25
  1525.  
  1526.     match  criteria press <End> to get the menu for  entering the
  1527.     desired sort order for the information to be exported.  After
  1528.     entering  the desired sort order press <End> again  to  start
  1529.     the exporting process. The output to disk can be executed  in
  1530.     following  formats:  ASCII, Wordstar  Mailmerge,  WordPerfect
  1531.     Merge, Comma Separated, and Delimited with ...(the separation
  1532.     character is to be defined by the user). Finally the name  of
  1533.     the target file has to be entered. The target file  extension
  1534.     is  placed automatically by the system (*.TXT,  *.MM,  *.WPM,
  1535.     *.CSV, *.DEL).
  1536.  
  1537.     The  selected information is written to the disk file in  the
  1538.     sort order defined by the user.
  1539.  
  1540.  
  1541.     PRINTER
  1542.  
  1543.     This  option  sends the output to the printer. There are  two
  1544.     options to print the information:
  1545.  
  1546.       -  STANDARD - Before starting to print you have  to  decide
  1547.       whether  the trailing blanks are desired or not, and  which
  1548.       delimiting character has to be placed between the  records.
  1549.       Suppressing the trailing blanks allows to print more infor-
  1550.       mation than by printing the blanks. Suppressing the  trail-
  1551.       ing blanks is recommended when large amount of  information
  1552.       is to be printed in one line.
  1553.  
  1554.       -  CUSTOM - Permits printing the information in  accordance
  1555.       to  a custom designed listing. After selecting this  option
  1556.       you  are asked whether to print by using a  previously  de-
  1557.       fined custom design, or by creating a new custom design. If
  1558.       "Create"  is selected a design screen is shown.  First  you
  1559.       have  to decide about the location of the title>  Centered,
  1560.       Right  justified,  or Left justified. You have up  to  five
  1561.       lines  for entering the title. If less than five lines  are
  1562.       entered press <F10> to close the title generation. A window
  1563.       opens showing the field of the DBF file. Select the desired
  1564.       field and press <CR>. Confirm the field name, or change  it
  1565.       for the presentation purposes of the header of the listing.
  1566.       Confirm  or change the column width, the current  position,
  1567.       and  the next available position. To skip the  line  select
  1568.       the  corresponding  option in the window  where  the  field
  1569.       names  are shown. To terminate the creation of  the  custom
  1570.       designed output press <CR> with the cursor on the   End and
  1571.       EXIT  option in the window with the field names.  Next  you
  1572.       will  get the options: Save (gives you the  possibility  to
  1573.       save this design for future use), Continue (brings you back
  1574.       into  the output generation screen), and Abandon (to  leave
  1575.       the  operation). After selecting Save  enter a name  and  a
  1576.       description for the custom designed print format.
  1577.  
  1578.       - PRINT MODE - Two printing modes are available: NORMAL and
  1579.       COMPRESSED.
  1580.  
  1581.       -  PRINT  - Select the Print option.  Enter  the  selection
  1582.       criteria  for the records to be printed, and  press  <End>.
  1583.  
  1584.  
  1585.                                 26
  1586.  
  1587.       Enter the sort order and press <End>.Select the report form
  1588.       to be printed. Select among Printer, File, and Screen where
  1589.       the output should be directed.
  1590.  
  1591.  
  1592.     TO OTHER DATA BASE FILE
  1593.  
  1594.     This  option sends the selected data to another DBF file.   A
  1595.     file  name has to be entered. To get a list of the  available
  1596.     DBF files in the current directory type <*>,<CR>. Select  the
  1597.     desired file and press <CR>. If the file exists, the  follow-
  1598.     ing  options are given: Append, Zap (deletes the contents  of
  1599.     the DBF file, but maintains the structure), Change Name,  and
  1600.     Overwrite  (you have to create a new file structure, and  the
  1601.     content of the existing file with this name will be lost). If
  1602.     a new file name is issued, a new data base file structure has
  1603.     to be defined. A new file with the same file structure as the
  1604.     active one can be created with the "Create a DB File"  option
  1605.     of  the  "Utilities" menu. In all cases you  can  decide  the
  1606.     source  field and the target field for the information to  be
  1607.     transferred.  The information which is stored in fields  that
  1608.     are  not defined as source fields is not transferred  to  the
  1609.     new data base file. To export certain records to a file, with
  1610.     the  same structure as the source file, it is easier  to  use
  1611.     the options View, mark the desired records, and store them in
  1612.     a new file.
  1613.  
  1614.  
  1615.     LABELS
  1616.  
  1617.     LABELS  generates  mailing labels. By  choosing  this  option
  1618.     three  possibilities  are  given: Standard  (only  one  label
  1619.     column is printed and you can choose the fields to be printed
  1620.     and their sequence), Create (you can create the label  print-
  1621.     out  according to your own design), Print your  design  (this
  1622.     option  is gives you the opportunity to choose among  several
  1623.     custom  designed  label print-outs). You can  choose  between
  1624.     sending  the  labels to the printer, to a file  on  disk  for
  1625.     further use, or to the screen for preview. The desired fields
  1626.     and the printing sequence of same have to be selected by  the
  1627.     user.  If the output goes to disk,  the file name has  to  be
  1628.     entered.  The selection criteria for the records,  for  which
  1629.     the labels have to be generated, is also requested.
  1630.  
  1631.  
  1632.     NOTE FOR THE SEARCHING CRITERIA
  1633.  
  1634.     Character  strings  can be searched only upon the  equal  [=]
  1635.     criteria. By defining the equal [=] search criteria you  have
  1636.     to  consider  that all character strings  starting  with  the
  1637.     search criteria will be selected. E.g. if the search criteria
  1638.     is   D then DK, DOM, and any other character string  starting
  1639.     with D will be selected. To avoid this situation if "D"  only
  1640.     has to be selected, type it as "D.".  In this case the search
  1641.     criteria has to be defined also as "D.".
  1642.  
  1643.  
  1644.  
  1645.  
  1646.                                 27
  1647.  
  1648.     For numeric information the following search criteria can  be
  1649.     used:  greater than [>], greater-equal [>=], less  than  [<],
  1650.     less equal [<=], not equal [<>], and equal [=].
  1651.  
  1652.  
  1653.  
  1654.   UTILITIES
  1655.  
  1656.   Powerfull  utilities are provided for the manipulation  of  the
  1657.   data base files and for seting up the working environment.  The
  1658.   most  important operations to be performed from  the  utilities
  1659.   menu  are:  indexing  to facilitate the  Fast  Find  operation,
  1660.   modification of the data base file structure, definition of the
  1661.   dBLOOKUP  links,  set up the default data  base  file,  colors,
  1662.   printer,  houskeeping for the data base file in use, data  base
  1663.   file  statistics, creation of new data base  files,  generation
  1664.   and play back of kyboard macros.
  1665.  
  1666.  
  1667.     RE-DEFINING DB
  1668.  
  1669.     RE-DEFINING DB - Permites to perform the data preparation for
  1670.     the Fast Find operation and to modify the active DB.
  1671.  
  1672.     The  program has been designed in such a way that you can  do
  1673.     all  the  DBF file customization operations, from  this  menu
  1674.     point,  by using the Indexing and Modify Active  DB  options.
  1675.     You do not have to switch to the New DB option, when more DBF
  1676.     files are involved.
  1677.  
  1678.  
  1679.       INDEXING
  1680.  
  1681.       This  option allows to perform the indexing needed for  the
  1682.       Fast  Find operations. By selecting this option the  active
  1683.       path  and  DBF file will be shown, and you  will  be  asked
  1684.       whether  you want to index the active file or another  one.
  1685.       By  pressing  <CR> or <N> you will get the  opportunity  to
  1686.       select the fields of the active file on which the  indexing
  1687.       should take place. If you want to prepare another DBF  file
  1688.       press  <Y>.  Confirm or specify the  desired  directory.  A
  1689.       window opens showing the DBF files available in the desired
  1690.       directory. Select the desired DBF file, and you can  choose
  1691.       the  fields  on which indexing should be  performed.  After
  1692.       selecting  the  fields press <F10> to  start  the  indexing
  1693.       process. Following has to be taken into consideration:
  1694.  
  1695.         - Up to three groups of criteria can be used for the Fast
  1696.         Find process.
  1697.  
  1698.         - The first and the second search criteria can be one  or
  1699.         a combination of more fields of the DBF file. With this a
  1700.         list of records sorted according to the field combination
  1701.         is shown. E.g. Country+State+ZIP_Code+City+Company+Name.
  1702.  
  1703.         - The third search criteria is based upon the  definition
  1704.         of  two fields simultaneously. This permites a very  pre-
  1705.  
  1706.  
  1707.                                 28
  1708.  
  1709.         cise search. E.g. if you have more than one "Petersen" in
  1710.         your  data base, but you need the data of "Petersen  from
  1711.         PC-SIG", then you will enter "Pet" in the first field and
  1712.         "PC"  in the second. You most probably will get  the  de-
  1713.         sired record instantaneously on the screen.
  1714.  
  1715.         -  If  a DBF file has previously been indexed,  then  the
  1716.         defined  indexes  well be kept unmodified  if  you  avoid
  1717.         selecting the field for indexing and press <F10>  direct-
  1718.         ly. You can mix the previously defined Fast Find criteria
  1719.         with new ones.
  1720.  
  1721.         -  The  indexes  generated to facilitate  the  Fast  Find
  1722.         operation  will be automatically updated if new  informa-
  1723.         tion is entered, or updating is done.
  1724.  
  1725.         - You can omit the definition of a Fast Find criteria  by
  1726.         pressing <F10> without defining any field.
  1727.  
  1728.         -  To delete selectively the index files needed  for  the
  1729.         Fast  Find  operation use the Housekeeping  option  Erase
  1730.         Index.
  1731.  
  1732.         - If only one record matches the search criteria then you
  1733.         will get only this record in a simple Zoom in mask.
  1734.  
  1735.         - If more than one record matches the search criteria you
  1736.         will get a data table including the matching records, and
  1737.         the following ones in sorting order.
  1738.  
  1739.  
  1740.       MODIFY THE ACTIVE DB
  1741.  
  1742.       After  selecting this option a window opens showing the  DB
  1743.       structure.  Following  can  be modified:  The  field  name,
  1744.       field  type, field width, decimal points, if the  field  is
  1745.       numeric,  and  the activation of the dBLOOKUP link  to  any
  1746.       available DBF file. Caution: By changing the field name the
  1747.       information stored in this field will be lost. Reduction of
  1748.       field length also has to be done with care, since  informa-
  1749.       tion can be truncated.
  1750.  
  1751.       For indicating that a field has a link to another file move
  1752.       the cursor to the dBLOOKUP column and press <Y>. To disable
  1753.       a previously defined dBLOOKUP link press <N> instead. After
  1754.       finishing with all the changes press <F10>. Answer with <Y>
  1755.       to confirm that the modifications are OK. Enter the name of
  1756.       the  DBF files related to the fields marked for a  dBLOOKUP
  1757.       link. If you type an asterisk <*> instead of the file  name
  1758.       followed  by  <CR>  a window opens showing  the  DBF  files
  1759.       available  in the current subdirectory. Select the  desired
  1760.       DBF file as usual and confirm with <CR>.
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.                                 29
  1769.  
  1770.     IMPORT
  1771.  
  1772.     Following Import possibilities are given:
  1773.  
  1774.       -  From  other  Data Base organized in  dBASE  III  format.
  1775.       Selecting  this    option you will be asked to  select  the
  1776.       subdirectory by confirming the existing or entering the new
  1777.       path. A window opens showing the DBF files available in the
  1778.       active  subdirectory.  After selecting the DBF file  to  be
  1779.       imported,  another window opens showing the  structures  of
  1780.       the  target  and source DBF files. Select, with  the  arrow
  1781.       keys, the field of the target DB to    be matched and press
  1782.       Return  <CR>.  The cursor is jumping to the     source  DB.
  1783.       Select,  as  before, the matching  field.  The     matching
  1784.       pairs will be numbered accordingly. After defining all  the
  1785.       matching codes press the right arrow to get into the selec-
  1786.       tion  criteria menu. With this menu the match code  can  be
  1787.       defined for the relevant fields in order to import  desired
  1788.       records  only. Information from the source field  might  be
  1789.       lost  if the corresponding field length of the target  file
  1790.       is shorter than the source field.
  1791.  
  1792.       -  ASCII/SDF - Plain ASCII files are imported by  appending
  1793.       the  new records and fitting the incoming  information  ac-
  1794.       cordingly  to the field length of the active DB. Trying  to
  1795.       import alphabetic information into a numeric field  results
  1796.       in zeros.
  1797.  
  1798.       - Wordstar Mail Merge - The fields of the imported informa-
  1799.       tion  are delimited by commas, and the textual  fields  are
  1800.       embedded in quotes. This corresponds to the Wordstar stand-
  1801.       ard. Again, trying to import alphabetic information into  a
  1802.       numeric field results in zeros.
  1803.  
  1804.  
  1805.     ENVIRONMENT
  1806.  
  1807.     By  accessing  this sub-menu  following  working  environment
  1808.     options can be changed:
  1809.  
  1810.       - PRINTER - Allows the installation of the desired printer.
  1811.  
  1812.       - COLORS - For color monitors it is possible to install the
  1813.       desired  combination of colors. The colors can  be  defined
  1814.       for the window, the main screen, and the shadow of the pull
  1815.       down menus.
  1816.  
  1817.       -  FORMAT  OF DATE - The standard date formats can  be  in-
  1818.       stalled  according  to the  requirements:  American,  ANSI,
  1819.       BRITISH,  French, German, and Italian. These  settings  are
  1820.       relevant only if Date format is used.
  1821.  
  1822.       -  DEFAULTS - This option allows you to setup  the  systems
  1823.       default  for: The default Data Base PATH, the DATA BASE  to
  1824.       be called up automatically when the program is started. The
  1825.       most  used  data base is recommended to be defined  as  the
  1826.       default with its corresponding path. Automatic BACKUP  for:
  1827.  
  1828.  
  1829.                                 30
  1830.  
  1831.       This  allows  the execution of an automatic  backup  of the
  1832.       active DBF file, before changing the structure, and  before
  1833.       packing  the  Data Base file for  eliminating  the  deleted
  1834.       fields.  The backup is a time consuming, but  recommendable
  1835.       action since the database may be corrupted during the above
  1836.       mentioned  operations,  if, for instance, a  power  failure
  1837.       occurs.
  1838.  
  1839.       -ERASE  dBLOOKUP...  -  A selective  deletion  of  dBLOOKUP
  1840.       links,  Outputs  (custom  designed  reports),  and   Labels
  1841.       (custom  designed  labels). This is  permiting  the  global
  1842.       deletion  of the predefined settings and might  be  usefull
  1843.       for  housekeeping purposes. The individual deletion of  the
  1844.       settings is possible from inbetween each specific option.
  1845.  
  1846.  
  1847.     DB STATISTICS
  1848.  
  1849.     This option computes the amount of characters used for  every
  1850.     field, in order to facilitate a statistical evaluation of the
  1851.     use  of  the hard disk resources. For  each  field  following
  1852.     information is given: field length, maximum number of charac-
  1853.     ters stored in this field, % of the field used by the longest
  1854.     information stored, the number of records in which the  long-
  1855.     est information occurs, % of the records storing the  longest
  1856.     information relatively to the total field length. You will be
  1857.     asked  whether an automatic optimization (shortening) of  the
  1858.     fields containing blanks is desired.
  1859.  
  1860.  
  1861.     HOUSEKEEPING
  1862.  
  1863.     With this option a series of useful operations can be done in
  1864.     order  to  maximize the efficiency of  Data  by  maintenance,
  1865.     updating, and modification. Following options are given:
  1866.  
  1867.       - Duplicated Entries: This Option enables the  localization
  1868.       of  duplicated entries, according to certain  user  defined
  1869.       criteria.  The duplicated entries may be deleted by  moving
  1870.       the  cursor to the unwanted record and pressing  the  <Del>
  1871.       key.  Un-deleting  is also possible by pressing  again  the
  1872.       <Del> key.
  1873.  
  1874.       -  Swapping  - Permits the exchange of the  contents  of  a
  1875.       field  with  that  of another for all the  records  of  the
  1876.       opened DBF file. The field type has to be the same. If  the
  1877.       field width of the two fields involved is different, infor-
  1878.       mation might get lost as a result of the swapping option
  1879.  
  1880.       -  Merge Fields -  Allows you  to put together up  to  five
  1881.       source fields in one target field. The information of up to
  1882.       six  fields  is thus concatenated. The  information  coming
  1883.       from  different fields is separated with the "|" sign.  You
  1884.       might  change the "|" sign with the Search & Replace  func-
  1885.       tion <Alt+R> of the Input & Updating option.
  1886.  
  1887.  
  1888.  
  1889.  
  1890.                                 31
  1891.  
  1892.       -  Pack  Active DB - The active DB is packed  in  order  to
  1893.       eliminate eventually deleted fields. It is recommendable to
  1894.       let  the default make a backup copy before  packing,  since
  1895.       the  information may get lost in the case of a power  fail-
  1896.       ure.
  1897.  
  1898.       -  Zap DB - Cleans the contents of a database file  leaving
  1899.       only  the file structure. Before Zapping the contents of  a
  1900.       data base file a backup copy of the file is done.
  1901.  
  1902.       -  Erase Index - Allows the selective deletion of the  com-
  1903.       plementary index files which allow the Fast Find operation.
  1904.  
  1905.  
  1906.     CREATE A DATA BASE FILE
  1907.  
  1908.     This  option permits the creation of new Data Base files,  by
  1909.     copying  the  structure of the active Data Base File,  or  by
  1910.     allowing the user to define the structure of the newly to  be
  1911.     defined file.
  1912.  
  1913.  
  1914.     MACRO CONTROL
  1915.  
  1916.     This option permits you to record a sequence of commands  for
  1917.     future retrieval and "play back" of same. This might be  very
  1918.     useful in case of repetitive use of longer command sequences.
  1919.  
  1920.     The options available are Create and Retrieve. After  select-
  1921.     ing  Create you will be asked for the Name of the  macro  and
  1922.     the description of it. Enter the desired sequence of commands
  1923.     to be executed automatically, and watch in the editing window
  1924.     the  internal  codes which are generated  for  the  automatic
  1925.     execution  of the macro. All commands are to be  entered  the
  1926.     same way as in the normal interactive mode with exception  of
  1927.     the  <F10>, which has to be entered as <Alt+F10>.  Close  the
  1928.     macro  generation  by pressing <F10>. The  macros  cannot  be
  1929.     edited.
  1930.  
  1931.     To  execute  a  keyboard macro select  the  Retrieve  option.
  1932.     Select the desired macro name and press <Enter>. The descrip-
  1933.     tion  of  the  macro might be helpful when  a  collection  of
  1934.     macros  is available. Answer with <Y> the question  "Playback
  1935.     (y/n) ?", and watch the execution of the macro.
  1936.  
  1937.  
  1938.   NEW DB
  1939.  
  1940.   This  option  of  the main menu bar allows  the  selection  and
  1941.   opening  of a new DBF file. By opening this option a pull  down
  1942.   window  opens and shows the drives available,  the  directories
  1943.   and the DBF files available in the current drive and directory.
  1944.  
  1945.   To select a DBF file select first the drive and press  <Enter>,
  1946.   then  select  the directory, and then select the DBF  file  and
  1947.   press <Enter>. The name of the opened DBF file with its respec-
  1948.   tive Path is shown on the left upper corner of the screen.
  1949.  
  1950.  
  1951.                                 32
  1952.  
  1953. TROUBLESHOOTING
  1954.  
  1955. As  with any complex software you might get into situations  when
  1956. the  program behaves inadequately. In this chapter you  can  find
  1957. out about the problems which might occur, and overcoming these.
  1958.  
  1959.   - If windows open on the screen and no message  is shown,  than
  1960.   you  should be aware that the system is warning you about  some
  1961.   future  problems, like limited space on the hard disk, etc.  If
  1962.   you want to read these messages exit the system and restart  it
  1963.   from  the STAFF subdirectory. If this still does not help,  you
  1964.   must  check  the colors setup since these might  be  improperly
  1965.   installed.  Lap  top  computers might have  problems  with  the
  1966.   default  color  settings. To avoid problems with  LCD  displays
  1967.   delete the file STAFFCOL.SYS in the \STAFF directory.
  1968.  
  1969.   -  If problems occur during the Fast Find operation,  the  most
  1970.   recommendable thing to do is Reindexing the desired fields. For
  1971.   doing  that you have to delete the .NTX files corresponding  to
  1972.   the active file (use the Erase Index option of Housekeeping  -<
  1973.   U,H,E>).  Then  use  the Indexing option of  the  Re-define  DB
  1974.   <U,R,I> and regenerate the index files required to perform  the
  1975.   Fast Find operation.
  1976.  
  1977.   -  If problems occur at dBLOOKUP implementation, then it  comes
  1978.   generally  for not having respected the rules for defining  the
  1979.   secondary,  and tertiary. See the explanation in  the  dBLOOKUP
  1980.   chapter.
  1981.  
  1982.   -  If  "Internal  Error 19" appears on the upper  part  of  the
  1983.   screen  it means that the corresponding index file(s) is  (are)
  1984.   corrupted.  Reasons  for  the corrupted index  files  are,  for
  1985.   instance,  a power failure in the moment of  updating.  Another
  1986.   reason  might be the data entry performed externally, by  using
  1987.   dBASE or other compatible products. The solution for this  type
  1988.   of  problem  is reindexing the information in the same  way  as
  1989.   described above.
  1990.  
  1991.   -  If the DBF file, which is called with the dBLOOKUP  facility
  1992.   <F2>,  is not bringing the correct information on  the  screen,
  1993.   although the correct information is available in the DBF  file,
  1994.   then  the secondary DBF file has not been indexed on the  first
  1995.   field. See explanation in the dBLOOKUP chapter.
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.                                 33
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.                             APPENDIX A
  2036.  
  2037.                       STAFF - QUICK REFERENCE
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.                                 34
  2074.  
  2075.                      STAFF - Quick reference
  2076.  
  2077. The database management actions which can be performed with STAFF
  2078. are  listed  in alphabetical order. All  the  necessary  shortcut
  2079. commands are shown considering that the user is starting with the
  2080. initial unopened menu bar.
  2081.  
  2082.   - Adding new Fields: U,R,M, <Ctrl+PgDn>, down arrow key
  2083.  
  2084.   - Adding new Records: I,I, <Ctrl+PgDn>, down arrow key
  2085.  
  2086.   - Calling  dBLOOKUP from a data table: [Move the cursor  to  a
  2087.     field whose name is followed with an *], <F2>
  2088.  
  2089.   - Calling the Calculator: <F6>
  2090.  
  2091.   - Changing the Active DB: U,R,O,Y, [Path], <CR>,  [Select  the
  2092.     DB], <CR>, [Select the index fields], <F10>
  2093.  
  2094.   - Changing the DB structure: U,R,M...
  2095.  
  2096.   - Changing the system colors: U,E,C...
  2097.  
  2098.   - Copying  Fields: I,I, [Goto the desired  Field],  <Ctrl+F2>,
  2099.     [Goto the destination field],<Ctrl+F2>,[Edit when necesary],
  2100.     <CR>
  2101.  
  2102.   - Copying records: I,I, [Go to the desired record], <Alt+F2>
  2103.  
  2104.   - Copying the DB structure: U,C,C, [File name], <CR>
  2105.  
  2106.   - Count the matching records: O,V, [Enter the selection crite-
  2107.     ria], <End>,
  2108.  
  2109.   - Creating  a  DB file: U,C,G, [File name],  <CR>,  [Fill  the
  2110.     related fields], <CR>
  2111.  
  2112.   - Creating  a Macro: U,M,C, [Macro name], <CR>, Y,  [Type  the
  2113.     command to be incorporated into the Macro], <F10>
  2114.  
  2115.   - Creating  and printing standard labels: O,L,S,  [Select  the
  2116.     fields to be printed with the arrow keys and <CR>], [Select:
  2117.     Printer, File or Screen], <CR>
  2118.  
  2119.   - Creating custom designed labels: O,L,C [Input the parameters
  2120.     or use the defaults], [Select the fields]
  2121.  
  2122.   - Defining a dBLOOKUP relation: U,R,M, [Go to  field],  <End>,
  2123.     [Type Y in the dBLOOKUP column],<F10>, [When  prompted, type
  2124.     the file name or an * to select from a list], <CR> ...
  2125.  
  2126.   - DOS Shell: <F9>
  2127.  
  2128.   - Editing a field: I,I, [Go to the desired field], <CR>
  2129.  
  2130.   - Editing  a secondary DBF: I,I, [Go to the  related  column],
  2131.     <F2>, <F3>
  2132.  
  2133.  
  2134.                                 35
  2135.  
  2136.   - Erasing a Macro: U,M,C, [Macro name], Y
  2137.  
  2138.   - Erasing a Memo field: I,I, [Go to the desired  Memo  field],
  2139.     <Alt+Z>
  2140.  
  2141.   - Erasing a record: I,I, [Go to the desired record], <Del>
  2142.  
  2143.   - Erasing the contents of a DB file: U,H,Z,Y
  2144.  
  2145.   - Erasing the marked records: O,V, [Mark the desired records],
  2146.     <F10>, [File name], <CR>, Y
  2147.  
  2148.   - Executing a Macro: U,M,R,
  2149.  
  2150.   - Executing Macros: D,M,A; From the Main Menu: <Alt+M>
  2151.  
  2152.   - Exporting a Memo field: I,I, [Go to the desired Memo field],
  2153.     <Alt+X>, [File name], <CR>
  2154.  
  2155.   - Exporting the marked records: O,V,[Enter the view criteria],
  2156.     <End>, [Mark the desired records  (<Tab> or <Shift+Tab>  for
  2157.     all)], <F10>, [File name], <CR>, N
  2158.  
  2159.   - Exporting  the  sorted records: O,S,  [Enter  the  selection
  2160.     criteria], <End>,[Enter the Sort order], <End>, <F10>, [File
  2161.     name], <CR>
  2162.  
  2163.   - Exporting to a Comma Separated file: O,D,C,[Enter the selec-
  2164.     tion criteria], <End>, [Enter the Sort order], <End>,  [File
  2165.     name], <CR>
  2166.  
  2167.   - Exporting to a Delimited with... file: O,D,E, the rest is as
  2168.     the "Exporting to a Comma Separated file"
  2169.  
  2170.   - Exporting to a WordPerfect Merge file: O,D,W, the rest is as
  2171.     the "Exporting to a Comma Separated file"
  2172.  
  2173.   - Exporting to a WordStar Mailmerge file:O,D,M, the rest is as
  2174.     the "Exporting to a Comma Separated file"
  2175.  
  2176.   - Exporting  to  an  ASCII  file:  O,D,A,  the  rest is as the
  2177.     "Exporting to a Comma Separated file"
  2178.  
  2179.   - Exporting  to other DB file: O,T, [File name  or  *,  <CR>],
  2180.     [Select: Append, Zap, Change name,  Overwrite],  [Select the
  2181.     fields], <F10>
  2182.  
  2183.   - Finding  duplicate  entries: U,H,D,  [Select  the  field  to
  2184.     check], [Enter the amount of characters to scan], <CR>
  2185.  
  2186.   - Getting HELP: <Alt+F1>; <F1>
  2187.  
  2188.   - Getting statistics and Optimizing the active DB: U,D,J
  2189.  
  2190.   - Getting statistics for numeric fields: O,V,[Enter the selec-
  2191.     tion criteria],  <End>,  [Move  the  cursor  to the  numeric 
  2192.     column],<Alt+F5>
  2193.  
  2194.  
  2195.                                 36
  2196.  
  2197.   - Going to a specific record: I,I, <Alt+G>, [Type  the  record
  2198.     number to go to]
  2199.  
  2200.   - Hiding columns in a table: I,I,[Move to the column to hide],
  2201.     <Alt+H>
  2202.  
  2203.   - Importing from a WordStar Mailmerge file: U,I,W, [Enter  the
  2204.     path], [Select the file with the cursor], <CR>
  2205.  
  2206.   - Importing  from  an ASCII file:  U,I,A,  [Enter  the  path],
  2207.     [Select the file with the cursor], <CR>
  2208.  
  2209.   - Importing from other DB: U,I,O,[Enter the Path], [Select the
  2210.     file], <CR>, [Select the fields],[Enter the selection crite-
  2211.     ria], <End>
  2212.  
  2213.   - Importing  to  a Memo file: I,I, [Go  to  the  desired  Memo
  2214.     field], <Alt+T>, [File name], <CR>
  2215.  
  2216.   - Leaving STAFF: <F10>; <Ctrl+F10> to exit from  deepest  menu
  2217.     levels
  2218.  
  2219.   - Marking all the records: O,V,[Enter the selection criteria],
  2220.     <End>, <Shift+Tab>
  2221.  
  2222.   - Marking records: O,V, [Enter the selection criteria], <End>,
  2223.     [Go to the desired record],  <Tab>  ...,  <F10>,   [Type the
  2224.     file name where you want the marked records to  be  copied],
  2225.     <CR>, N
  2226.  
  2227.   - Merging  fields:  U,H,M,  [Select  the  destination  field],
  2228.     [Select up to 5 source fields], <CR>
  2229.  
  2230.   - Opening  a new DB file: N, [Select the DB  file  with  arrow
  2231.     keys], <CR>
  2232.  
  2233.   - Partial string searching: From any table,[Move the cursor to
  2234.     the desired column],<Alt+F>, [Enter the text to search for],
  2235.     <CR>; to continue the search process: <Alt+N>
  2236.  
  2237.   - Printing Labels: O,L,P, [Select the desired format], <CR>
  2238.  
  2239.   - Printing standard outputs: O,P,S,[Enter the selection crite-
  2240.     ria], <End>, [Enter the sort order], <End>
  2241.  
  2242.   - Relating a file to an entry: I,I, [Go to the desired field],
  2243.     [Type %\PATH\FILENAME], <CR>
  2244.  
  2245.   - Removing a field from the DB structure: U,R,M, [Move to  the
  2246.     desired field], <Del>, <F10>, J
  2247.  
  2248.   - Removing permanently all the deleted records: U,H,P
  2249.  
  2250.   - Searching and replacing a string: I,I, [Move to the  desired
  2251.     column], <Alt+R>, [Type the text to search for], <CR>, [Type
  2252.     the text to replace with], <CR>
  2253.  
  2254.  
  2255.  
  2256.                                 37
  2257.  
  2258.   - Selecting  a printer: U,E,P, [Select the  printer  with  the
  2259.     arrow keys], <CR>
  2260.  
  2261.   - Selecting the Date format: U,E,F, [Select the Date  format],
  2262.     <CR>
  2263.  
  2264.   - Sorting  a  DB file: O,S, [Enter  the  selection  criteria],
  2265.     <End>,[Enter the sort order], <End>,<F10>, [File name], <CR>
  2266.  
  2267.   - Sorting and exporting a DB file: O,S, [Enter  the  selection
  2268.     criteria],<End>, [Enter the sort order], <End>, <F10>, [File
  2269.     name], <CR>
  2270.  
  2271.   - Specifying the Path and DB file: U,R,O,Y,[Path], [Select the
  2272.     DB file], <CR>, [Select the index field], <F10>
  2273.  
  2274.   - Specifying the defaults: U,E,D, [Type the Path,  File  name,
  2275.     and Auto backup options]
  2276.  
  2277.   - Swapping  to  fields:  U,H,S, [Select the  2  fields  to  be
  2278.     swapped], <CR>
  2279.  
  2280.   - Unerasing a record: I,I, [Go to a deleted record],  <Del>  -
  2281.     This just works prior to a Pack
  2282.  
  2283.   - Using Fast Find and editing the record contents: F,  [Select
  2284.     the  desired  Fast Find  option],  <CR>,  [Enter the text to 
  2285.     search for], <CR>, [Select the desired record], <Alt+E>
  2286.  
  2287.   - Using Fast Find: I, [Select the desired Option],  [Type  the
  2288.     text to search for], <CR>
  2289.  
  2290.   - Using the calendar: <F4>
  2291.  
  2292.   - Viewing and editing an external File from an entry: I,I, [Go
  2293.     to the desired record (it must begun with a % sign)],<Alt+V>
  2294.  
  2295.   - Viewing   selected  records:  O,V,  [Enter   the   selection
  2296.     criteria], <End>
  2297.  
  2298.   - Working with numeric fields: I,C,[Select the desired field],
  2299.     <CR>,[Select the operation to perform], [Enter the selection
  2300.     criteria], <End>
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.                                 38
  2318.  
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.                             APPENDIX B
  2341.  
  2342.              PC-MUNDO - A SAMPLE DATA BASE APPLICATION
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.                                 39
  2379.  
  2380.             PC-MUNDO - A SAMPLE DATA BASE APPLICATION
  2381.  
  2382. PC-MUNDO  is a sample application for STAFF. Its main purpose  is
  2383. to demonstrate some of the STAFF functions, but a good use od  it
  2384. can be made for educational purposes.
  2385.  
  2386. PC-MUNDO  is  a  collection of 6 Data   Base   files   containing
  2387. statistical   information  of 162 countries and   590  cities  of
  2388. the world. With PC-MUNDO you can search for any country, find its
  2389. Capital,  major  cities, population per city,  total  population,
  2390. international telephone prefixes and much more.
  2391.  
  2392. In  order  to execute this application you must  invoke  a  Macro
  2393. called  TOINDEX,  this macro is distributed with STAFF.  To  call
  2394. this  macro, with all the pull-down menus closed,  press  <Alt+M>
  2395. and select it from the list, answer <Y>es to the PLAY-BACK  ques-
  2396. tion,  and just wait for a few seconds. After the Macro  is  com-
  2397. pleted you can began to use PC-MUNDO.
  2398.  
  2399.  
  2400. USING PC-MUNDO
  2401.  
  2402. From the STAFF main menu press F, <CR>, [Name of the country]
  2403.  
  2404. If  the typed character string is present just once in the  data-
  2405. base  you will get, on the screen, all the country related  data.
  2406. If the name entered is part of more than one record you will  get
  2407. a data table showing all the records that match the typed name.
  2408.  
  2409. You  may navigate using the standard STAFF  navigation  commands.
  2410. The  first (COUNTRY) and the third (LOCATION) fields are  related
  2411. to other data files. By pressing <F2> with the cursor  positioned
  2412. on  the COUNTRY column you will get a dBLOOKUP window that  shows
  2413. you the full name of the country.
  2414.  
  2415. By  pressing <F2> from this new data table, while the  cursor  is
  2416. positioned  over  the  CODE field, you will get  a  new  dBLOOKUP
  2417. window that shows you the main cities that belongs to the select-
  2418. ed  country. It is also possible to call a third related file  by
  2419. moving  the cursor to the TLF_CODE column and pressing <F2>.  Now
  2420. you will get a window with the international telephone prefix for
  2421. the selected city.
  2422.  
  2423. From the second dBLOOKUP window (the one with the extended  names
  2424. of  the  countries), if you move the cursor to the  column  named
  2425. KODE  and  press  the <F2> key, the system will show  you  a  new
  2426. dBLOOKUP window with the status of the selected country.
  2427.  
  2428. From the main data table, you can move to the LOCATION column  to
  2429. get the exactly location of the selected country.
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.                                 40
  2440.  
  2441. PC-MUNDO FILES
  2442.  
  2443. The  following is a brief description of the files  that  conform
  2444. the PC-MUNDO application.
  2445.  
  2446. The main Data Base of this application is BASEDATA.DBF, this file
  2447. contains the following information:
  2448.  
  2449. COUNTRY    = PC-MUNDO internal country code
  2450. NAME       = Country short name
  2451. LOCATION   = Key code for the locations file
  2452. YEAR       = Year of the statistics used
  2453. BIRTH      = Birth rate
  2454. DEATH      = Mortality rate
  2455. INF_M      = Infantile mortality
  2456. NAT_INC    = National Increase
  2457. FERTIL     = Fertility rate
  2458. LIFE_MA    = Life expectancy Males
  2459. LIFE_FE    = Life expectancy Females
  2460. SQ_MILES   = Area in square Miles
  2461. SQ_KM      = Area in square kilometers
  2462. AREA_RANK  = Area Rank
  2463. POPU_RANK  = Population Rank
  2464. POPULATION = Population
  2465. POP_SQ_MI  = Population per square mile
  2466. POP_SQ_KM  = Population per square kilometer
  2467. PER_CAPIT  = Yearly Per capita income in US$
  2468.  
  2469.  
  2470. Other of the PC-MUNDO application files are:
  2471.  
  2472.  
  2473.     CITIES
  2474.  
  2475.     This  file  contains the major cities for each  country,  the
  2476.     CAPITAL  is  always in capital letters, the  following  is  a
  2477.     description of each of the file fields:
  2478.  
  2479.     CODE       = Internal country code
  2480.     CITY       = City name
  2481.     TLF_CODE   = Internal link code for telephone prefixes
  2482.     POPULATION = Population per city
  2483.     LATITUD    = City Latitude
  2484.     LONGITUD   = City Longitude
  2485.  
  2486.  
  2487.     LOCATION
  2488.  
  2489.     The LOCATION file contains the following information:
  2490.  
  2491.     CODE       = Internal location code
  2492.     DESCRIPTIO = Location explanation
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.                                 41
  2501.  
  2502.     STATUS
  2503.  
  2504.     This file provides a brief description of the country  status
  2505.     the fields are the following:
  2506.  
  2507.     CODE       = Internal status code
  2508.     TEXT       = Brief description of the country status
  2509.  
  2510.  
  2511.     TLFCODE
  2512.  
  2513.     The TLFCODE file contain the international telephonic prefix-
  2514.     es for the registered cities. Its structure is as follows:
  2515.  
  2516.     CODE       = Internal link code
  2517.     TLF_CODE   = International telephone prefix
  2518.  
  2519.  
  2520.     XCOUNTRY
  2521.  
  2522.     This  file  contains the long name for each country  that  is
  2523.     registered  in the PC-MUNDO application, and a link code  for
  2524.     the  locations  file. The following is a description  of  the
  2525.     file structure:
  2526.  
  2527.     CODE       = Internal country code
  2528.     NAME_LONG  = Country long name
  2529.     KODE       = Internal location code
  2530.  
  2531.  
  2532. INFORMATION SOURCES:
  2533.  
  2534.      Grolier Encyclopedia
  2535.  
  2536.      Brockhaus Encyclopedia
  2537.  
  2538.      Various statistical sources
  2539.  
  2540. DISCLAIMER
  2541.  
  2542.     MSC  is not responsible, in any way, for the accuracy of  the
  2543.     data stored in the PC-MUNDO sample DBF files.
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.                                 42
  2562.